{
    "keyboard_name": "rhino",
    "manufacturer": "Christian Sandven",
    "url": "",
    "maintainer": "Christian Sandven",
    "usb": {
        "vid": "0xFEED",
        "pid": "0x0000",
        "device_version": "0.0.1"
    },
    "matrix_pins": {
        "cols": ["D3", "D2", "D4", "D7", "E6", "B4", "B5"],
        "rows": ["B3", "B2", "B6", "B1", "F4", "F5", "F6", "F7"]
    },
    "diode_direction": "COL2ROW",
    "encoder": {
        "rotary": [
            {"pin_a": "D1", "pin_b": "D0"}
        ]
    },
    "processor": "atmega32u4",
    "bootloader": "atmel-dfu",
    "debounce": 2,
    "layouts": {
        "LAYOUT_ortho_2x2u": {
            "layout": [
                {"matrix": [7, 6], "x": 12.5, "y": 0},

                {"matrix": [0, 0], "x": 0, "y": 1, "w": 1.5},
                {"matrix": [0, 1], "x": 1.5, "y": 1},
                {"matrix": [0, 2], "x": 2.5, "y": 1},
                {"matrix": [0, 3], "x": 3.5, "y": 1},
                {"matrix": [0, 4], "x": 4.5, "y": 1},
                {"matrix": [0, 5], "x": 5.5, "y": 1},
                {"matrix": [0, 6], "x": 6.5, "y": 1},
                {"matrix": [4, 0], "x": 7.5, "y": 1},
                {"matrix": [4, 1], "x": 8.5, "y": 1},
                {"matrix": [4, 2], "x": 9.5, "y": 1},
                {"matrix": [4, 3], "x": 10.5, "y": 1},
                {"matrix": [4, 4], "x": 11.5, "y": 1},
                {"matrix": [4, 5], "x": 12.5, "y": 1},
                {"matrix": [4, 6], "x": 13.5, "y": 1, "w": 1.5},

                {"matrix": [1, 0], "x": 0, "y": 2, "w": 1.5},
                {"matrix": [1, 1], "x": 1.5, "y": 2},
                {"matrix": [1, 2], "x": 2.5, "y": 2},
                {"matrix": [1, 3], "x": 3.5, "y": 2},
                {"matrix": [1, 4], "x": 4.5, "y": 2},
                {"matrix": [1, 5], "x": 5.5, "y": 2},
                {"matrix": [1, 6], "x": 6.5, "y": 2},
                {"matrix": [5, 0], "x": 7.5, "y": 2},
                {"matrix": [5, 1], "x": 8.5, "y": 2},
                {"matrix": [5, 2], "x": 9.5, "y": 2},
                {"matrix": [5, 3], "x": 10.5, "y": 2},
                {"matrix": [5, 4], "x": 11.5, "y": 2},
                {"matrix": [5, 5], "x": 12.5, "y": 2},
                {"matrix": [5, 6], "x": 13.5, "y": 2, "w": 1.5},

                {"matrix": [2, 0], "x": 0, "y": 3, "w": 1.5},
                {"matrix": [2, 1], "x": 1.5, "y": 3},
                {"matrix": [2, 2], "x": 2.5, "y": 3},
                {"matrix": [2, 3], "x": 3.5, "y": 3},
                {"matrix": [2, 4], "x": 4.5, "y": 3},
                {"matrix": [2, 5], "x": 5.5, "y": 3},
                {"matrix": [2, 6], "x": 6.5, "y": 3},
                {"matrix": [6, 0], "x": 7.5, "y": 3},
                {"matrix": [6, 1], "x": 8.5, "y": 3},
                {"matrix": [6, 2], "x": 9.5, "y": 3},
                {"matrix": [6, 3], "x": 10.5, "y": 3},
                {"matrix": [6, 4], "x": 11.5, "y": 3},
                {"matrix": [6, 5], "x": 12.5, "y": 3},
                {"matrix": [6, 6], "x": 13.5, "y": 3, "w": 1.5},

                {"matrix": [3, 1], "x": 1.5, "y": 4},
                {"matrix": [3, 2], "x": 2.5, "y": 4},
                {"matrix": [3, 3], "x": 3.5, "y": 4},
                {"matrix": [3, 4], "x": 4.5, "y": 4},
                {"matrix": [3, 6], "x": 5.5, "y": 4, "w": 2},
                {"matrix": [7, 0], "x": 7.5, "y": 4, "w": 2},
                {"matrix": [7, 2], "x": 9.5, "y": 4},
                {"matrix": [7, 3], "x": 10.5, "y": 4},
                {"matrix": [7, 4], "x": 11.5, "y": 4},
                {"matrix": [7, 5], "x": 12.5, "y": 4}
            ]
        },
        "LAYOUT_ergo_2x2u": {
            "layout": [
                {"matrix": [7, 6], "x": 12.5, "y": 0},

                {"matrix": [0, 0], "x": 0, "y": 1, "w": 1.5},
                {"matrix": [0, 1], "x": 1.5, "y": 1},
                {"matrix": [0, 2], "x": 2.5, "y": 1},
                {"matrix": [0, 3], "x": 3.5, "y": 1},
                {"matrix": [0, 4], "x": 4.5, "y": 1},
                {"matrix": [0, 5], "x": 5.5, "y": 1},
                {"matrix": [0, 6], "x": 6.5, "y": 1, "h": 1.5},
                {"matrix": [4, 0], "x": 7.5, "y": 1, "h": 1.5},
                {"matrix": [4, 1], "x": 8.5, "y": 1},
                {"matrix": [4, 2], "x": 9.5, "y": 1},
                {"matrix": [4, 3], "x": 10.5, "y": 1},
                {"matrix": [4, 4], "x": 11.5, "y": 1},
                {"matrix": [4, 5], "x": 12.5, "y": 1},
                {"matrix": [4, 6], "x": 13.5, "y": 1, "w": 1.5},

                {"matrix": [1, 0], "x": 0, "y": 2, "w": 1.5},
                {"matrix": [1, 1], "x": 1.5, "y": 2},
                {"matrix": [1, 2], "x": 2.5, "y": 2},
                {"matrix": [1, 3], "x": 3.5, "y": 2},
                {"matrix": [1, 4], "x": 4.5, "y": 2},
                {"matrix": [1, 5], "x": 5.5, "y": 2},
                {"matrix": [2, 6], "x": 6.5, "y": 2.5, "h": 1.5},
                {"matrix": [6, 0], "x": 7.5, "y": 2.5, "h": 1.5},
                {"matrix": [5, 1], "x": 8.5, "y": 2},
                {"matrix": [5, 2], "x": 9.5, "y": 2},
                {"matrix": [5, 3], "x": 10.5, "y": 2},
                {"matrix": [5, 4], "x": 11.5, "y": 2},
                {"matrix": [5, 5], "x": 12.5, "y": 2},
                {"matrix": [5, 6], "x": 13.5, "y": 2, "w": 1.5},

                {"matrix": [2, 0], "x": 0, "y": 3, "w": 1.5},
                {"matrix": [2, 1], "x": 1.5, "y": 3},
                {"matrix": [2, 2], "x": 2.5, "y": 3},
                {"matrix": [2, 3], "x": 3.5, "y": 3},
                {"matrix": [2, 4], "x": 4.5, "y": 3},
                {"matrix": [2, 5], "x": 5.5, "y": 3},
                {"matrix": [6, 1], "x": 8.5, "y": 3},
                {"matrix": [6, 2], "x": 9.5, "y": 3},
                {"matrix": [6, 3], "x": 10.5, "y": 3},
                {"matrix": [6, 4], "x": 11.5, "y": 3},
                {"matrix": [6, 5], "x": 12.5, "y": 3},
                {"matrix": [6, 6], "x": 13.5, "y": 3, "w": 1.5},

                {"matrix": [3, 1], "x": 1.5, "y": 4},
                {"matrix": [3, 2], "x": 2.5, "y": 4},
                {"matrix": [3, 3], "x": 3.5, "y": 4},
                {"matrix": [3, 4], "x": 4.5, "y": 4},
                {"matrix": [3, 6], "x": 5.5, "y": 4, "w": 2},
                {"matrix": [7, 0], "x": 7.5, "y": 4, "w": 2},
                {"matrix": [7, 2], "x": 9.5, "y": 4},
                {"matrix": [7, 3], "x": 10.5, "y": 4},
                {"matrix": [7, 4], "x": 11.5, "y": 4},
                {"matrix": [7, 5], "x": 12.5, "y": 4}
            ]
        },
        "LAYOUT_ortho_7u": {
            "layout": [
                {"matrix": [7, 6], "x": 12.5, "y": 0},

                {"matrix": [0, 0], "x": 0, "y": 1, "w": 1.5},
                {"matrix": [0, 1], "x": 1.5, "y": 1},
                {"matrix": [0, 2], "x": 2.5, "y": 1},
                {"matrix": [0, 3], "x": 3.5, "y": 1},
                {"matrix": [0, 4], "x": 4.5, "y": 1},
                {"matrix": [0, 5], "x": 5.5, "y": 1},
                {"matrix": [0, 6], "x": 6.5, "y": 1},
                {"matrix": [4, 0], "x": 7.5, "y": 1},
                {"matrix": [4, 1], "x": 8.5, "y": 1},
                {"matrix": [4, 2], "x": 9.5, "y": 1},
                {"matrix": [4, 3], "x": 10.5, "y": 1},
                {"matrix": [4, 4], "x": 11.5, "y": 1},
                {"matrix": [4, 5], "x": 12.5, "y": 1},
                {"matrix": [4, 6], "x": 13.5, "y": 1, "w": 1.5},

                {"matrix": [1, 0], "x": 0, "y": 2, "w": 1.5},
                {"matrix": [1, 1], "x": 1.5, "y": 2},
                {"matrix": [1, 2], "x": 2.5, "y": 2},
                {"matrix": [1, 3], "x": 3.5, "y": 2},
                {"matrix": [1, 4], "x": 4.5, "y": 2},
                {"matrix": [1, 5], "x": 5.5, "y": 2},
                {"matrix": [1, 6], "x": 6.5, "y": 2},
                {"matrix": [5, 0], "x": 7.5, "y": 2},
                {"matrix": [5, 1], "x": 8.5, "y": 2},
                {"matrix": [5, 2], "x": 9.5, "y": 2},
                {"matrix": [5, 3], "x": 10.5, "y": 2},
                {"matrix": [5, 4], "x": 11.5, "y": 2},
                {"matrix": [5, 5], "x": 12.5, "y": 2, "w": 1.5},
                {"matrix": [5, 6], "x": 14, "y": 2},

                {"matrix": [2, 0], "x": 0, "y": 3, "w": 1.5},
                {"matrix": [2, 1], "x": 1.5, "y": 3},
                {"matrix": [2, 2], "x": 2.5, "y": 3},
                {"matrix": [2, 3], "x": 3.5, "y": 3},
                {"matrix": [2, 4], "x": 4.5, "y": 3},
                {"matrix": [2, 5], "x": 5.5, "y": 3},
                {"matrix": [2, 6], "x": 6.5, "y": 3},
                {"matrix": [6, 0], "x": 7.5, "y": 3},
                {"matrix": [6, 1], "x": 8.5, "y": 3},
                {"matrix": [6, 2], "x": 9.5, "y": 3},
                {"matrix": [6, 3], "x": 10.5, "y": 3},
                {"matrix": [6, 4], "x": 11.5, "y": 3, "w": 1.5},
                {"matrix": [6, 5], "x": 13, "y": 3},
                {"matrix": [6, 6], "x": 14, "y": 3},

                {"matrix": [3, 1], "x": 1.5, "y": 4},
                {"matrix": [3, 2], "x": 2.5, "y": 4, "w": 1.5},
                {"matrix": [3, 6], "x": 4, "y": 4, "w": 7},
                {"matrix": [7, 4], "x": 11, "y": 4, "w": 1.5},
                {"matrix": [7, 5], "x": 12.5, "y": 4}
            ]
        }
    }
}
